package club.chenlinghong.product.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description 商品类目
 * @Author chenlinghong
 * @Date 2019/6/18 16:30
 * @Version V1.0
 */
@Entity
@Table(name = "product_catagory")
@Data
public class ProductCatagory implements Serializable {

    private static final long serialVersionUID = -2344061487813480356L;

    @Id
    @GeneratedValue
    private Integer catagoryId;

    private String catagoryName;

    private Integer catagoryType;

    private Date createTime;

    private Date updateTime;
}
